// 获取token
export function getToken() {
  return localStorage.getItem('token')
}

// 设置token
export function setToken(token) {
  return localStorage.setItem('token', token)
}

// 移除token
export function removeToken() {
  return localStorage.removeItem('token')
}

// 获取用户名
export function getUsername() {
  return localStorage.getItem('username')
}

// 设置用户名
export function setUsername(username) {
  return localStorage.setItem('username', username)
}

// 移除用户名
export function removeUsername() {
  return localStorage.removeItem('username')
}